<div class="form">
    <div class="form-title">
        <h2><?php echo $for_download && $for_user_autenthication ? 
            'Indique su '.$form->getObject()->getForm()->getKeyField()->getTitle()
            :
            $form->getObject()->getForm()->getElement()->getTitle() ?>
        </h2>
    </div>
    <form action="<?php echo $for_download && $for_user_autenthication ? 
            url_for('render_download_content', $content)
            : 
            url_for('render_process_register',$form->getObject()->getForm()->getElement()).
                    ($for_download ? '?for_download=1&content_id='.$content->getId():'') ?>"
          method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>
    >
        <?php if (!$form->getObject()->isNew()): ?>
            <input type="hidden" name="sf_method" value="put" />
        <?php endif; ?>
        <?php echo $form->renderHiddenFields() ?>
        <?php foreach ($form['Values'] as $value): ?>
            <?php echo $value->render() ?>
        <?php endforeach; ?>
        <div>
            <input type="submit" value="<?php echo $for_download && $for_user_autenthication ? 'Enviar' : 'Guardar' ?>" />
        </div>
    </form>
</div>
